<!DOCTYPE html>
<html>
<head>
    <title>String Type Case Methods Example</title>
    <script type="text/javascript">
    
        var stringValue = "hello world";
        alert(stringValue.toLocaleUpperCase());  //"HELLO WORLD"
        alert(stringValue.toUpperCase());        //"HELLO WORLD"
        alert(stringValue.toLocaleLowerCase());  //"hello world"
        alert(stringValue.toLowerCase());        //"hello world"

    </script>
</head>
<body>

</body>
</html>